<?
if (empty($callback_data)) {
    $callback_data = array('empty' => true);
}
?>

<script type="text/javascript">
    opener.loginCallback(<?= json_encode($callback_data) ?>);
    window.close();
</script>

